import numpy as np
import ssl
import os
ssl._create_default_https_context = ssl._create_unverified_context
from tensorflow.keras.datasets import cifar10

# 加载CIFAR-10数据集作为示例
(X_train, y_train), (X_test, y_test) = cifar10.load_data()
X_train = X_train.astype('float32') / 255
X_test = X_test.astype('float32') / 255
y_train = y_train.flatten()
y_test = y_test.flatten()


# 成功的下载完了，但是还是经常出bug

